package sdau.hjk.service;

import sdau.hjk.entity.UserRecord;

import java.util.Date;
import java.text.ParseException;
import java.util.List;

/**
 *@version 1.0
 *@author: huangjiakai
 *@create:2021−02-07 11:45
 *@className:com.hjk.service.IUserRecordService
 *@description: TODO
 */
public interface IUserRecordService {
    //根据专业和日期查询记录
    public List<UserRecord> findByMajorDate(String major, Date date);
    //根据学号查询打卡记录
    public List<UserRecord> findById(Integer id);
    //保存打卡记录
    public void saveUserRecord(UserRecord userRecord) throws ParseException, Exception;
}
